import axios from "axios";

const token = sessionStorage.getItem("authentication");

export const getDishList = (params: any) =>
    axios({
        url: "api/user/dish/list",
        method: 'get',
        headers: {authentication: token},
        params: params
    })
